package com.anjubao.parking.municipal.parkinglot.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 充电桩
 *
 * @author zhuchunfeng
 */
@Getter
@Setter
@ApiModel(value="ParkingLotDeviceChargingPileDto",description = "充电桩")
@ToString
public class ParkingLotDeviceChargingPileDto{
//
//    @TableField(value="id")
//    @ApiModelProperty(name="id",value = "设备id")
//    private Long id;

    @ApiModelProperty(name="code",value = "设备编号")
    private String code;

    @ApiModelProperty(name="machineCode",value = "机器码")
    private String machineCode;

    @ApiModelProperty(name="name",value = "设备名称")
    private String name;

//    @TableField(value="parking_lot_bill_rule_id")
//    @ApiModelProperty(name="parkingLotBillRuleId",value = "停车场计费规则")
//    private Long parkingLotBillRuleId;
//
//    @TableField(value="parking_lot_bill_rule_code")
//    @ApiModelProperty(name="parkingLotBillRuleCode",value = "停车场计费规则编码")
//    private String parkingLotBillRuleCode;

//    @TableField(value="parking_lot_slot_id")
//    @ApiModelProperty(name="parkingLotSlotId",value = "停车场停车位ID")
//    private Long parkingLotSlotId;

    @ApiModelProperty(name="parkingLotSlotCode",value = "停车场停车位编号")
    private String parkingLotSlotCode;

    @ApiModelProperty(name="parkingLotSlotName",value = "停车场停车位名称")
    private String parkingLotSlotName;

//    @TableField(value="parking_lot_id")
//    @ApiModelProperty(name="parkingLotId",value = "停车场ID")
//    private Long parkingLotId;

    @ApiModelProperty(name="parkingLotCode",value = "停车场编号,code生成规则为100(3位)+yyMMddHHmm(10位)+id(19位)")
    private String parkingLotCode;

    @ApiModelProperty(name="parkingLotName",value = "停车场名称")
    private String parkingLotName;

    @ApiModelProperty(name="provinceId",value = "停车场所在省份ID")
    private Integer provinceId;

    @ApiModelProperty(name="provinceName",value = "停车场所在省份名称")
    private String provinceName;

    @ApiModelProperty(name="cityId",value = "停车场所在城市ID")
    private Integer cityId;

    @ApiModelProperty(name="cityName",value = "停车场所在城市名称")
    private String cityName;

    @ApiModelProperty(name="districtId",value = "停车场所在区域ID")
    private Integer districtId;

    @ApiModelProperty(name="districtName",value = "停车场所在区域名称")
    private String districtName;

    @ApiModelProperty(name="maxPower",value = "最大功率")
    private Integer maxPower;

    @ApiModelProperty(name="status",value = "状态 -1：故障，0：禁用，1：正常，2：充电中")
    private Integer status;

    @ApiModelProperty(name="isOnline",value = "运行状态 0:断线 1:在线")
    private Integer isOnline;

    @ApiModelProperty(name="lastReportTime",value = "最后报到时间")
    private LocalDateTime lastReportTime;

    @ApiModelProperty(name="note",value = "备注")
    private String note;

    @ApiModelProperty(name="createTime",value = "添加时间")
    private LocalDateTime createTime;

}